package cn.zzdt4j.threadpool.monitor.api;

/**
 * Thread-pool runtime monitor
 *
 * @author by <a href="mailto:ligang941012@gmail.com">gang.Li</a>
 * @since 2024/5/14 0:04
 */
public interface ThreadPoolMonitor {
    /**
     * get thread-pool monitoring type
     *
     * @return thread-pool type
     */
    String getType();

    /**
     * collect thread-pool runtime data
     */
    void collect();
}
